package com.ls.pattern.behavior.strategy;

public class DuchC extends Duck {
    public DuchC() {
        flyBehavior = new NoFlyBehavior();
        quackBehavior = new NoQuackBehavior();
    }

    @Override
    public void display() {
        System.out.println("鸭子C");
    }
}
